package com.jrx.anytxn.transaction.mapper.base;

import com.jrx.anytxn.transaction.entity.AmWaiveRepaymentPlanInfo;

public interface AmWaiveRepaymentPlanInfoMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record AmWaiveRepaymentPlanInfo
     * @return int
     */
    int insert(AmWaiveRepaymentPlanInfo record);

    /**
     * 根据字段是否为空保存 
     * @param record AmWaiveRepaymentPlanInfo
     * @return int
     */
    int insertSelective(AmWaiveRepaymentPlanInfo record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return AmWaiveRepaymentPlanInfo
     */
    AmWaiveRepaymentPlanInfo selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record AmWaiveRepaymentPlanInfo
     * @return int
     */
    int updateByPrimaryKeySelective(AmWaiveRepaymentPlanInfo record);

    /**
     * 根据主键更新所有字段 
     * @param record AmWaiveRepaymentPlanInfo
     * @return int
     */
    int updateByPrimaryKey(AmWaiveRepaymentPlanInfo record);
}